package com.aidex.biz.mapper;

import com.aidex.biz.domain.DeptTarget;
import com.aidex.biz.domain.bo.TarGetInfoBo;
import com.aidex.common.core.mapper.BaseMapper;

/**
 * 业绩目标设置Mapper接口
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2024-09-24
 */
public interface DeptTargetMapper extends BaseMapper<DeptTarget> {

    /**
     * 批量删除业绩目标设置
     *
     * @param ids 需要删除的业绩目标设置ID集合
     * @return
     */
    public int deleteDeptTargetByIds(String[] ids);

    /**
     * 获取最大编号
     *
     * @param deptTarget 业绩目标设置
     * @return 结果
     */
    public Integer findMaxSort(DeptTarget deptTarget);

    /**
     * 查询首页业绩数据
     *
     * @param deptTarget
     * @return
     */
    public DeptTarget getIndexDeptTarGet(TarGetInfoBo tarGetInfoBo);

}
